package org.aurora.model.response;

import org.aurora.remote.protocol.RemoteResponse;

import java.io.Serializable;

public class AssignHashSlotsResponse extends RemoteResponse implements Serializable {
    private String schedulerIp;

    private int schedulerPort;

    public AssignHashSlotsResponse(String schedulerIp, int schedulerPort) {
        this.schedulerIp = schedulerIp;
        this.schedulerPort = schedulerPort;
    }

    public String getSchedulerIp() {
        return schedulerIp;
    }

    public void setSchedulerIp(String schedulerIp) {
        this.schedulerIp = schedulerIp;
    }

    public int getSchedulerPort() {
        return schedulerPort;
    }

    public void setSchedulerPort(int schedulerPort) {
        this.schedulerPort = schedulerPort;
    }
}
